package com.situ.student.controller;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class LifeServlent extends HttpServlet {
	//构造方法
	public LifeServlent() {
		System.out.println("LifeServlent.LifeServlent()");
	}
	//初始化
	@Override
	public void init() throws ServletException {
		System.out.println("LifeServlent.init()");
	}
	//调用
	@Override
	protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		System.out.println("LifeServlent.service()");
	}
	
	//销毁
	@Override
	public void destroy() {
		System.out.println("LifeServlent.destroy()");
	}
}
